package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同操作日志对象 sys_contract_log
 *
 * @author ruoyi
 * @date 2025-06-24
 */
public class SysContractLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 操作 */
    @Excel(name = "操作")
    private String operate;

    /** 合同主键 */
    @Excel(name = "合同主键")
    private Long contractId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setOperate(String operate)
    {
        this.operate = operate;
    }

    public String getOperate()
    {
        return operate;
    }

    public void setContractId(Long contractId)
    {
        this.contractId = contractId;
    }

    public Long getContractId()
    {
        return contractId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("operate", getOperate())
                .append("contractId", getContractId())
                .toString();
    }
}